package com.quanyan.user.service;

import com.quanyan.api.APIResponse;

import java.util.List;

/**
 * Created by zhang on 16/11/15.
 */
public interface UserSmsService {

    int smsTypeValidCode = 1;

    int smsTypeSpeechValid = 2;

    int smsTypeMessage = 3;

    /**
     * 短信发送
     * @return
     */
    APIResponse sendSms(List<String> mobiles, int templateId, int type, List<String> params);

    /**
     * 验证码验证
     * @return
     */
    APIResponse checkCode(String validCode,String mobile);



}
